package com.chinasofti.manager.domain;


public class Demo06 {
    public static void main(String[] args) {
        String s1 = "abc";
        String s2 = "ABC";
        String s3 = "abc";
        System.out.println(s1.equals(s2));//区分大小写
        System.out.println(s1.equals(s3));

        System.out.println(s1.equalsIgnoreCase(s2));//不区分大小写
    }
}
